package com.warrior.respository;

import com.warrior.entity.TicketTransformEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Shawn on 2017/3/16.
 */
@Repository
public interface ITicketTransformRepository extends JpaRepository<TicketTransformEntity,String>,PagingAndSortingRepository<TicketTransformEntity,String> {

    List<TicketTransformEntity> findTicketByUserId(String userId);

}
